From ba76f545499343fc4d869515d5d065a8364a6854 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 2 Jul 2011 01:57:27 +0200 Subject: [PATCH] reftests: Add test for box brokenness This is a tests for the last commit. --- tests/reftests/Makefile.am | 3 + tests/reftests/style-properties-nth-child.css | 11 +++ .../style-properties-nth-child.ref.ui | 71 +++++++++++++++++++ tests/reftests/style-properties-nth-child.ui | 70 ++++++++++++++++++ 4 files changed, 155 insertions(+) create mode 100644 tests/reftests/style-properties-nth-child.css create mode 100644 tests/reftests/style-properties-nth-child.ref.ui create mode 100644 tests/reftests/style-properties-nth-child.ui diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 625c56ff8a..0d4c19d977 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -139,6 +139,9 @@ EXTRA_DIST += \ shorthand-entry-border.ui \ simple.ref.ui \ simple.ui \ + style-properties-nth-child.css \ + style-properties-nth-child.ref.ui \ + style-properties-nth-child.ui \ toplevel-vs-popup.ref.ui \ toplevel-vs-popup.ui \ unresolvable.css \ diff --git a/tests/reftests/style-properties-nth-child.css b/tests/reftests/style-properties-nth-child.css new file mode 100644 index 0000000000..d3d406c1fb --- /dev/null +++ b/tests/reftests/style-properties-nth-child.css @@ -0,0 +1,11 @@ +* { + -GtkToolbar-button-relief: none; +} + +.grid-toolbar { + -GtkToolbar-button-relief: normal; +} + +.box-toolbar { + -GtkToolbar-button-relief: normal; +} diff --git a/tests/reftests/style-properties-nth-child.ref.ui b/tests/reftests/style-properties-nth-child.ref.ui new file mode 100644 index 0000000000..2cf5d5fa9f --- /dev/null +++ b/tests/reftests/style-properties-nth-child.ref.ui @@ -0,0 +1,71 @@ + + + + + False + popup + 300 + 300 + + + True + False + + + True + True + True + in + + + + + + 0 + 0 + 1 + 1 + + + + + True + False + True + + + + True + False + list-add-symbolic + + + False + True + + + + + True + False + list-add-symbolic + + + False + True + + + + + 0 + 1 + 1 + 1 + + + + + + diff --git a/tests/reftests/style-properties-nth-child.ui b/tests/reftests/style-properties-nth-child.ui new file mode 100644 index 0000000000..fe6aaed872 --- /dev/null +++ b/tests/reftests/style-properties-nth-child.ui @@ -0,0 +1,70 @@ + + + + + False + popup + 300 + 300 + + + True + False + vertical + + + True + True + True + in + + + + + + False + True + 0 + + + + + True + False + True + + + + True + False + list-add-symbolic + + + False + True + + + + + True + False + list-add-symbolic + + + False + True + + + + + False + True + 1 + + + + + + -- 2.30.2